Skip to contentSkip to conversation

BSOD "A clock interrupt was not recevied ona secondary processor within the allocated time interval"

DISCUSSION Andrew Lyon 6 participants 13 messages Jan 2, 2009 – Jan 7, 2009 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]

#1 lore raw
Quoted 44 lines · Andrew Lyon

Hi,

When dom0 is under heavy load any Vista or Windows 2008 HVM's that are running and have multiple cpu's assigned often BSOD with code 0x00000101 "A clock interrupt was not recevied ona secondary processor within the allocated time interval"

It only happens if the load in dom0 is high enough to make the mouse pointer lagged, once the mouse fails to track in realtime the hvm's start to bsod within a few seconds.

I have tried several versions of Xen including 3.2, 3.3 and 3.3.1 rc4, and various kernels including the 2.6.18 xensource and 2.6.27-xen.hg.

Here is a example config from one of my vista hvms, is there a timer/rtc setting that I need to add to avoid this problem?

import os, re
arch = os.uname()[4]
if re.search('64', arch):

   arch_libdir = 'lib64'

else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 2048
name = "Vistax86"
uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
vcpus=8
vif = [ 'mac=00:16:3e:7d:bc:b1' ]
disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ]
device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm'
boot="d"
sdl=0
vnc=1
vnclisten="127.0.0.1"
vncdisplay=11
vncpasswd='vv8176a'
stdvga=0
serial='pty'
usbdevice='tablet' cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxxxxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx'] keymap='en-gb'

Quoted 2 lines

Andy

I think this is a known issue which has incorrectly been marked as FIXED in bugzilla:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1117

there is a second bug report of the same problem, this time with more details:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065

Is there a fix?

Andy

A message that is not in the archive (sent off-list or not yet received): [email protected]

#3 lore raw

Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 5 lines · Steve Prochniak

All Microsoft 6.0 and beyond Operating Systems have a sense of 'enlightment' which means they try to talk to the underlying hypervisor
- and if there is one, they do certain things like turn off 101 bugchecks. The only real way to get Vista and beyond to work correctly with SMP is to make Xen conform to Microsoft's hypervisor spec.

I vaguely recall there being a way to make xen "lie" to the OS about the type of hypervisor, it might only be a feature on the commercial citrix xenserver?

So basically there is no way to run Windows Vista or 2008 on Xen without risk of a 101 BSOD under load?

If that is true then its a severe problem and Xen is useless for newer MS OS's :(

Has anybody else had this problem and found a solution?

Andy

Quoted 79 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrew Lyon
Sent: Friday, January 02, 2009 1:34 PM
To: [email protected]; Xen-Devel (E-mail)
Subject: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 33 lines · Andrew Lyon

Hi,

When dom0 is under heavy load any Vista or Windows 2008 HVM's that are running and have multiple cpu's assigned often BSOD with code 0x00000101 "A clock interrupt was not recevied ona secondary processor within the allocated time interval"

It only happens if the load in dom0 is high enough to make the mouse pointer lagged, once the mouse fails to track in realtime the hvm's start to bsod within a few seconds.

I have tried several versions of Xen including 3.2, 3.3 and 3.3.1 rc4, and various kernels including the 2.6.18 xensource and 2.6.27-xen.hg.

Here is a example config from one of my vista hvms, is there a timer/rtc setting that I need to add to avoid this problem?

import os, re
arch = os.uname()[4]
if re.search('64', arch):

   arch_libdir = 'lib64'

else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 2048
name = "Vistax86"
uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
vcpus=8
vif = [ 'mac=00:16:3e:7d:bc:b1' ]
disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' boot="d"

Quoted 9 lines

sdl=0
vnc=1
vnclisten="127.0.0.1"
vncdisplay=11
vncpasswd='vv8176a'
stdvga=0
serial='pty'
usbdevice='tablet'

cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']

Quoted 4 lines

keymap='en-gb'

Andy

I think this is a known issue which has incorrectly been marked as FIXED in bugzilla:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1117

there is a second bug report of the same problem, this time with more details:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065

Is there a fix?

Andy

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#4 lore raw

RE: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Andrew - you can run the "Novell Shim" which makes the hypervisor conform to the Microsoft spec enough that the guest OSs will turn off watchdog timeouts (0x101 BSoDs)...

Steve

-----Original Message-----
From: Andrew Lyon [mailto:[email protected]]
Sent: Monday, January 05, 2009 3:24 PM
To: Steve Prochniak; Xen-Devel (E-mail); [email protected]
Subject: Re: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 2 lines · Steve Prochniak

All Microsoft 6.0 and beyond Operating Systems have a sense of 'enlightment' which means they try to talk to the underlying

hypervisor

Quoted 2 lines

- and if there is one, they do certain things like turn off 101 bugchecks. The only real way to get Vista and beyond to work

correctly

Quoted 1 line

with SMP is to make Xen conform to Microsoft's hypervisor spec.

I vaguely recall there being a way to make xen "lie" to the OS about the type of hypervisor, it might only be a feature on the commercial citrix xenserver?

So basically there is no way to run Windows Vista or 2008 on Xen without risk of a 101 BSOD under load?

If that is true then its a severe problem and Xen is useless for newer MS OS's :(

Has anybody else had this problem and found a solution?

Andy

Quoted 4 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrew

Lyon

Quoted 10 lines

Sent: Friday, January 02, 2009 1:34 PM
To: [email protected]; Xen-Devel (E-mail)
Subject: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 3 lines · Andrew Lyon

Hi,

When dom0 is under heavy load any Vista or Windows 2008 HVM's that

are

Quoted 9 lines
Quoted 9 lines

running and have multiple cpu's assigned often BSOD with code 0x00000101 "A clock interrupt was not recevied ona secondary processor within the allocated time interval"

It only happens if the load in dom0 is high enough to make the mouse pointer lagged, once the mouse fails to track in realtime the hvm's start to bsod within a few seconds.

I have tried several versions of Xen including 3.2, 3.3 and 3.3.1

rc4,

Quoted 22 lines
Quoted 22 lines

and various kernels including the 2.6.18 xensource and 2.6.27-xen.hg.

Here is a example config from one of my vista hvms, is there a timer/rtc setting that I need to add to avoid this problem?

import os, re
arch = os.uname()[4]
if re.search('64', arch):

   arch_libdir = 'lib64'

else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 2048
name = "Vistax86"
uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
vcpus=8
vif = [ 'mac=00:16:3e:7d:bc:b1' ]
disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' boot="d"
sdl=0

Quoted 9 lines
Quoted 8 lines

vnc=1
vnclisten="127.0.0.1"
vncdisplay=11
vncpasswd='vv8176a'
stdvga=0
serial='pty'
usbdevice='tablet'

cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx

Quoted 25 lines

xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']

Quoted 4 lines

keymap='en-gb'

Andy

I think this is a known issue which has incorrectly been marked as FIXED in bugzilla:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1117

there is a second bug report of the same problem, this time with more details:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065

Is there a fix?

Andy

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#5 lore raw

Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

This was never accepted by upstream Xen, as originally submitted by Ky from Novell:

original submission:
http://lists.xensource.com/archives/html/xen-devel/2008-02/msg00630.html

Steve Prochniak wrote on 01/05/2009 03:55 PM:

Quoted 138 lines

Andrew - you can run the "Novell Shim" which makes the hypervisor conform to the Microsoft spec enough that the guest OSs will turn off watchdog timeouts (0x101 BSoDs)...

Steve

-----Original Message-----
From: Andrew Lyon [mailto:[email protected]]
Sent: Monday, January 05, 2009 3:24 PM
To: Steve Prochniak; Xen-Devel (E-mail); [email protected]
Subject: Re: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 3 lines · Steve Prochniak

All Microsoft 6.0 and beyond Operating Systems have a sense of 'enlightment' which means they try to talk to the underlying

hypervisor

Quoted 3 lines

- and if there is one, they do certain things like turn off 101 bugchecks. The only real way to get Vista and beyond to work

correctly

Quoted 2 lines

with SMP is to make Xen conform to Microsoft's hypervisor spec.

I vaguely recall there being a way to make xen "lie" to the OS about the type of hypervisor, it might only be a feature on the commercial citrix xenserver?

So basically there is no way to run Windows Vista or 2008 on Xen without risk of a 101 BSOD under load?

If that is true then its a severe problem and Xen is useless for newer MS OS's :(

Has anybody else had this problem and found a solution?

Andy

Quoted 4 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrew

Lyon

Quoted 5 lines

Sent: Friday, January 02, 2009 1:34 PM
To: [email protected]; Xen-Devel (E-mail)
Subject: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 7 lines
Quoted 4 lines · Andrew Lyon

Hi,

When dom0 is under heavy load any Vista or Windows 2008 HVM's that

are

Quoted 10 lines
Quoted 10 lines

running and have multiple cpu's assigned often BSOD with code 0x00000101 "A clock interrupt was not recevied ona secondary processor within the allocated time interval"

It only happens if the load in dom0 is high enough to make the mouse pointer lagged, once the mouse fails to track in realtime the hvm's start to bsod within a few seconds.

I have tried several versions of Xen including 3.2, 3.3 and 3.3.1

rc4,

Quoted 23 lines
Quoted 23 lines

and various kernels including the 2.6.18 xensource and 2.6.27-xen.hg.

Here is a example config from one of my vista hvms, is there a timer/rtc setting that I need to add to avoid this problem?

import os, re
arch = os.uname()[4]
if re.search('64', arch):

   arch_libdir = 'lib64'

else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 2048
name = "Vistax86"
uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
vcpus=8
vif = [ 'mac=00:16:3e:7d:bc:b1' ]
disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' boot="d"
sdl=0
vnc=1

Quoted 8 lines
Quoted 8 lines

vnclisten="127.0.0.1"
vncdisplay=11
vncpasswd='vv8176a'
stdvga=0
serial='pty'
usbdevice='tablet'

cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx

Quoted 17 lines

xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']

Quoted 5 lines

keymap='en-gb'

Andy

I think this is a known issue which has incorrectly been marked as FIXED in bugzilla:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1117

there is a second bug report of the same problem, this time with more details:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065

Quoted 10 lines

Is there a fix?

Andy

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 5 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#6 lore raw

Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Alternative Viridian interface support was checked in. When enabled, it ought to be sufficient to disable these bugchecks. Œviridian=1¹ needs to be specified in the domain config file.

-- Keir

Quoted 199 lines · Ben Guthro

This was never accepted by upstream Xen, as originally submitted by Ky from Novell:

original submission:
http://lists.xensource.com/archives/html/xen-devel/2008-02/msg00630.html

Steve Prochniak wrote on 01/05/2009 03:55 PM:

Quoted 183 lines

Andrew - you can run the "Novell Shim" which makes the hypervisor conform to the Microsoft spec enough that the guest OSs will turn off watchdog timeouts (0x101 BSoDs)...

Steve

-----Original Message-----
From: Andrew Lyon [mailto:[email protected]]
Sent: Monday, January 05, 2009 3:24 PM
To: Steve Prochniak; Xen-Devel (E-mail); [email protected]
Subject: Re: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 5 lines · On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak <[email protected]>…

All Microsoft 6.0 and beyond Operating Systems have a sense of 'enlightment' which means they try to talk to the underlying

hypervisor

Quoted 5 lines

- and if there is one, they do certain things like turn off 101 bugchecks. The only real way to get Vista and beyond to work

correctly

Quoted 4 lines

with SMP is to make Xen conform to Microsoft's hypervisor spec.

I vaguely recall there being a way to make xen "lie" to the OS about the type of hypervisor, it might only be a feature on the commercial citrix xenserver?

So basically there is no way to run Windows Vista or 2008 on Xen without risk of a 101 BSOD under load?

If that is true then its a severe problem and Xen is useless for newer MS OS's :(

Has anybody else had this problem and found a solution?

Andy

Quoted 6 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrew

Lyon

Quoted 18 lines

Sent: Friday, January 02, 2009 1:34 PM
To: [email protected]; Xen-Devel (E-mail)
Subject: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 6 lines · On Mon, Dec 29, 2008 at 9:32 AM, Andrew Lyon <[email protected]>…

Hi,

When dom0 is under heavy load any Vista or Windows 2008 HVM's that

are

Quoted 6 lines
Quoted 6 lines

running and have multiple cpu's assigned often BSOD with code 0x00000101 "A clock interrupt was not recevied ona secondary processor within the allocated time interval"

Quoted 8 lines
Quoted 7 lines

It only happens if the load in dom0 is high enough to make the mouse pointer lagged, once the mouse fails to track in realtime the hvm's start to bsod within a few seconds.

I have tried several versions of Xen including 3.2, 3.3 and 3.3.1

rc4,

Quoted 26 lines
Quoted 26 lines

and various kernels including the 2.6.18 xensource and 2.6.27-xen.hg.

Here is a example config from one of my vista hvms, is there a timer/rtc setting that I need to add to avoid this problem?

import os, re
arch = os.uname()[4]
if re.search('64', arch):

   arch_libdir = 'lib64'

else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 2048
name = "Vistax86"
uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
vcpus=8
vif = [ 'mac=00:16:3e:7d:bc:b1' ]
disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' boot="d"
sdl=0
vnc=1
vnclisten="127.0.0.1"

Quoted 9 lines
Quoted 8 lines

vncdisplay=11
vncpasswd='vv8176a'
stdvga=0
serial='pty'
usbdevice='tablet'

cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx

Quoted 22 lines

xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']

Quoted 7 lines

keymap='en-gb'

Andy

I think this is a known issue which has incorrectly been marked as FIXED in bugzilla:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1117

there is a second bug report of the same problem, this time with more details:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065

Quoted 11 lines

Is there a fix?

Andy

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 5 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#7 lore raw

Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 3 lines · Keir Fraser

Alternative Viridian interface support was checked in. When enabled, it ought to be sufficient to disable these bugchecks. 'viridian=1' needs to be specified in the domain config file.

Keir,

Are you sure that the code was checked in? I am running 3.3.1 rc4 but adding that setting didnt seem to help, grep -r "viridian" /usr/lib64/python2.5/site-packages/xen finds nothing, searching for other config keywords in that folder they are always found in several files...

Andy

Quoted 209 lines

-- Keir

On 05/01/2009 21:32, "Ben Guthro" <[email protected]> wrote:

This was never accepted by upstream Xen, as originally submitted by Ky from Novell:

original submission:
http://lists.xensource.com/archives/html/xen-devel/2008-02/msg00630.html

Steve Prochniak wrote on 01/05/2009 03:55 PM:

Andrew - you can run the "Novell Shim" which makes the hypervisor conform to the Microsoft spec enough that the guest OSs will turn off watchdog timeouts (0x101 BSoDs)...

Steve

-----Original Message-----
From: Andrew Lyon [mailto:[email protected]]
Sent: Monday, January 05, 2009 3:24 PM
To: Steve Prochniak; Xen-Devel (E-mail); [email protected]
Subject: Re: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak <[email protected]> <mailto:[email protected]> wrote:

All Microsoft 6.0 and beyond Operating Systems have a sense of 'enlightment' which means they try to talk to the underlying

hypervisor

- and if there is one, they do certain things like turn off 101 bugchecks. The only real way to get Vista and beyond to work

correctly

with SMP is to make Xen conform to Microsoft's hypervisor spec.

I vaguely recall there being a way to make xen "lie" to the OS about the type of hypervisor, it might only be a feature on the commercial citrix xenserver?

So basically there is no way to run Windows Vista or 2008 on Xen without risk of a 101 BSOD under load?

If that is true then its a severe problem and Xen is useless for newer MS OS's :(

Has anybody else had this problem and found a solution?

Andy

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrew

Lyon

Sent: Friday, January 02, 2009 1:34 PM
To: [email protected]; Xen-Devel (E-mail)
Subject: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

On Mon, Dec 29, 2008 at 9:32 AM, Andrew Lyon <[email protected]> <mailto:[email protected]>
wrote:

Hi,

When dom0 is under heavy load any Vista or Windows 2008 HVM's that

are

running and have multiple cpu's assigned often BSOD with code 0x00000101 "A clock interrupt was not recevied ona secondary processor within the allocated time interval"

It only happens if the load in dom0 is high enough to make the mouse pointer lagged, once the mouse fails to track in realtime the hvm's start to bsod within a few seconds.

I have tried several versions of Xen including 3.2, 3.3 and 3.3.1

rc4,

and various kernels including the 2.6.18 xensource and 2.6.27-xen.hg.

Here is a example config from one of my vista hvms, is there a timer/rtc setting that I need to add to avoid this problem?

import os, re
arch = os.uname()[4]
if re.search('64', arch):

   arch_libdir = 'lib64'

else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 2048
name = "Vistax86"
uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
vcpus=8
vif = [ 'mac=00:16:3e:7d:bc:b1' ]
disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' boot="d"
sdl=0
vnc=1
vnclisten="127.0.0.1"
vncdisplay=11
vncpasswd='vv8176a'
stdvga=0
serial='pty'
usbdevice='tablet'

cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx

xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']

keymap='en-gb'

Andy

I think this is a known issue which has incorrectly been marked as FIXED in bugzilla:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1117

there is a second bug report of the same problem, this time with more details:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065

Is there a fix?

Andy

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

________________________________
_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#8 lore raw

Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 5 lines · Andrew Lyon
Quoted 3 lines · Keir Fraser

Alternative Viridian interface support was checked in. When enabled, it ought to be sufficient to disable these bugchecks. 'viridian=1' needs to be specified in the domain config file.

Quoted 7 lines

Keir,

Are you sure that the code was checked in? I am running 3.3.1 rc4 but adding that setting didnt seem to help, grep -r "viridian" /usr/lib64/python2.5/site-packages/xen finds nothing, searching for other config keywords in that folder they are always found in several files...

Ah, it's in xen-unstable only. Not in 3.3.

-- Keir

#9 lore raw

Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

In reply to Keir Fraser
Quoted 3 lines

Alternative Viridian interface support was checked in. When enabled, it ought to be sufficient to disable these bugchecks. Œviridian=1¹ needs to be specified in the domain config file.

Hmm... In order for the Viridian stuff to actually solve this problem, you need to set the relaxed-timers bit. It doesn't look like the xen-unstable implementation does so. Something like this might help:

xen/arch/x86/hvm/viridian.c +2 -1
diff -r f6b92526e916 xen/arch/x86/hvm/viridian.c
@@ -37,6 +37,7 @@
 
 /* Viridian CPUID 4000004, Implementation Recommendations. */
 #define CPUID4A_MSR_BASED_APIC  (1 << 3)
+#define CPUID4A_RELAX_TIMER_INT_HANDLING (1 << 5)
 
 int cpuid_viridian_leaves(unsigned int leaf, unsigned int *eax,
                           unsigned int *ebx, unsigned int *ecx,
@@ -84,7 +85,7 @@
         if ( (d->arch.hvm_domain.viridian.guest_os_id.raw == 0) ||
              (d->arch.hvm_domain.viridian.guest_os_id.fields.os < 4) )
             break;
-        *eax = CPUID4A_MSR_BASED_APIC;
+        *eax = CPUID4A_MSR_BASED_APIC | CPUID4A_RELAX_TIMER_INT_HANDLING;
         *ebx = 2047; /* long spin count */
         break;
     }

But note that I haven't tested this *at all*.

Steven.

Quoted 207 lines · Ben Guthro
Quoted 200 lines

This was never accepted by upstream Xen, as originally submitted by Ky from Novell:

original submission:
http://lists.xensource.com/archives/html/xen-devel/2008-02/msg00630.html

Steve Prochniak wrote on 01/05/2009 03:55 PM:

Quoted 183 lines

Andrew - you can run the "Novell Shim" which makes the hypervisor conform to the Microsoft spec enough that the guest OSs will turn off watchdog timeouts (0x101 BSoDs)...

Steve

-----Original Message-----
From: Andrew Lyon [mailto:[email protected]]
Sent: Monday, January 05, 2009 3:24 PM
To: Steve Prochniak; Xen-Devel (E-mail); [email protected]
Subject: Re: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 5 lines · On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak <[email protected]>…

All Microsoft 6.0 and beyond Operating Systems have a sense of 'enlightment' which means they try to talk to the underlying

hypervisor

Quoted 5 lines

- and if there is one, they do certain things like turn off 101 bugchecks. The only real way to get Vista and beyond to work

correctly

Quoted 4 lines

with SMP is to make Xen conform to Microsoft's hypervisor spec.

I vaguely recall there being a way to make xen "lie" to the OS about the type of hypervisor, it might only be a feature on the commercial citrix xenserver?

So basically there is no way to run Windows Vista or 2008 on Xen without risk of a 101 BSOD under load?

If that is true then its a severe problem and Xen is useless for newer MS OS's :(

Has anybody else had this problem and found a solution?

Andy

Quoted 6 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrew

Lyon

Quoted 18 lines

Sent: Friday, January 02, 2009 1:34 PM
To: [email protected]; Xen-Devel (E-mail)
Subject: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 6 lines · On Mon, Dec 29, 2008 at 9:32 AM, Andrew Lyon <[email protected]>…

Hi,

When dom0 is under heavy load any Vista or Windows 2008 HVM's that

are

Quoted 6 lines
Quoted 6 lines

running and have multiple cpu's assigned often BSOD with code 0x00000101 "A clock interrupt was not recevied ona secondary processor within the allocated time interval"

Quoted 8 lines
Quoted 7 lines

It only happens if the load in dom0 is high enough to make the mouse pointer lagged, once the mouse fails to track in realtime the hvm's start to bsod within a few seconds.

I have tried several versions of Xen including 3.2, 3.3 and 3.3.1

rc4,

Quoted 26 lines
Quoted 26 lines

and various kernels including the 2.6.18 xensource and 2.6.27-xen.hg.

Here is a example config from one of my vista hvms, is there a timer/rtc setting that I need to add to avoid this problem?

import os, re
arch = os.uname()[4]
if re.search('64', arch):

   arch_libdir = 'lib64'

else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 2048
name = "Vistax86"
uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
vcpus=8
vif = [ 'mac=00:16:3e:7d:bc:b1' ]
disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' boot="d"
sdl=0
vnc=1
vnclisten="127.0.0.1"

Quoted 9 lines
Quoted 8 lines

vncdisplay=11
vncpasswd='vv8176a'
stdvga=0
serial='pty'
usbdevice='tablet'

cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx

Quoted 22 lines

xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']

Quoted 7 lines

keymap='en-gb'

Andy

I think this is a known issue which has incorrectly been marked as FIXED in bugzilla:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1117

there is a second bug report of the same problem, this time with more details:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065

Quoted 11 lines

Is there a fix?

Andy

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 5 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#10 lore raw

RE: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

This is very similar to the patch we have on top of the original Novell stuff.

Steve Ofsthun was digging through the new viridian.c code at the end of the day yesterday to see if this bit was set. This fix below should do the same thing.

-----Original Message-----
From: Steven Smith [mailto:[email protected]]
Sent: Tue 1/6/2009 5:39 AM
To: Keir Fraser
Cc: Ben Guthro; Steve Prochniak; Andrew Lyon; Xen-Devel (E-mail); [email protected]
Subject: Re: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 3 lines

Alternative Viridian interface support was checked in. When enabled, it ought to be sufficient to disable these bugchecks. Oviridian=1¹ needs to be specified in the domain config file.

Hmm... In order for the Viridian stuff to actually solve this problem, you need to set the relaxed-timers bit. It doesn't look like the xen-unstable implementation does so. Something like this might help:

xen/arch/x86/hvm/viridian.c +2 -1
diff -r f6b92526e916 xen/arch/x86/hvm/viridian.c
@@ -37,6 +37,7 @@
 
 /* Viridian CPUID 4000004, Implementation Recommendations. */
 #define CPUID4A_MSR_BASED_APIC  (1 << 3)
+#define CPUID4A_RELAX_TIMER_INT_HANDLING (1 << 5)
 
 int cpuid_viridian_leaves(unsigned int leaf, unsigned int *eax,
                           unsigned int *ebx, unsigned int *ecx,
@@ -84,7 +85,7 @@
         if ( (d->arch.hvm_domain.viridian.guest_os_id.raw == 0) ||
              (d->arch.hvm_domain.viridian.guest_os_id.fields.os < 4) )
             break;
-        *eax = CPUID4A_MSR_BASED_APIC;
+        *eax = CPUID4A_MSR_BASED_APIC | CPUID4A_RELAX_TIMER_INT_HANDLING;
         *ebx = 2047; /* long spin count */
         break;
     }

But note that I haven't tested this *at all*.

Steven.

Quoted 207 lines · Ben Guthro
Quoted 200 lines

This was never accepted by upstream Xen, as originally submitted by Ky from Novell:

original submission:
http://lists.xensource.com/archives/html/xen-devel/2008-02/msg00630.html

Steve Prochniak wrote on 01/05/2009 03:55 PM:

Quoted 183 lines

Andrew - you can run the "Novell Shim" which makes the hypervisor conform to the Microsoft spec enough that the guest OSs will turn off watchdog timeouts (0x101 BSoDs)...

Steve

-----Original Message-----
From: Andrew Lyon [mailto:[email protected]]
Sent: Monday, January 05, 2009 3:24 PM
To: Steve Prochniak; Xen-Devel (E-mail); [email protected]
Subject: Re: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 5 lines · On Mon, Jan 5, 2009 at 7:25 PM, Steve Prochniak <[email protected]>…

All Microsoft 6.0 and beyond Operating Systems have a sense of 'enlightment' which means they try to talk to the underlying

hypervisor

Quoted 5 lines

- and if there is one, they do certain things like turn off 101 bugchecks. The only real way to get Vista and beyond to work

correctly

Quoted 4 lines

with SMP is to make Xen conform to Microsoft's hypervisor spec.

I vaguely recall there being a way to make xen "lie" to the OS about the type of hypervisor, it might only be a feature on the commercial citrix xenserver?

So basically there is no way to run Windows Vista or 2008 on Xen without risk of a 101 BSOD under load?

If that is true then its a severe problem and Xen is useless for newer MS OS's :(

Has anybody else had this problem and found a solution?

Andy

Quoted 6 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrew

Lyon

Quoted 18 lines

Sent: Friday, January 02, 2009 1:34 PM
To: [email protected]; Xen-Devel (E-mail)
Subject: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 6 lines · On Mon, Dec 29, 2008 at 9:32 AM, Andrew Lyon <[email protected]>…

Hi,

When dom0 is under heavy load any Vista or Windows 2008 HVM's that

are

Quoted 6 lines
Quoted 6 lines

running and have multiple cpu's assigned often BSOD with code 0x00000101 "A clock interrupt was not recevied ona secondary processor within the allocated time interval"

Quoted 8 lines
Quoted 7 lines

It only happens if the load in dom0 is high enough to make the mouse pointer lagged, once the mouse fails to track in realtime the hvm's start to bsod within a few seconds.

I have tried several versions of Xen including 3.2, 3.3 and 3.3.1

rc4,

Quoted 26 lines
Quoted 26 lines

and various kernels including the 2.6.18 xensource and 2.6.27-xen.hg.

Here is a example config from one of my vista hvms, is there a timer/rtc setting that I need to add to avoid this problem?

import os, re
arch = os.uname()[4]
if re.search('64', arch):

   arch_libdir = 'lib64'

else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 2048
name = "Vistax86"
uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
vcpus=8
vif = [ 'mac=00:16:3e:7d:bc:b1' ]
disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' boot="d"
sdl=0
vnc=1
vnclisten="127.0.0.1"

Quoted 9 lines
Quoted 8 lines

vncdisplay=11
vncpasswd='vv8176a'
stdvga=0
serial='pty'
usbdevice='tablet'

cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx

Quoted 22 lines

xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']

Quoted 7 lines

keymap='en-gb'

Andy

I think this is a known issue which has incorrectly been marked as FIXED in bugzilla:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1117

there is a second bug report of the same problem, this time with more details:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065

Quoted 11 lines

Is there a fix?

Andy

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 5 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

Quoted 4 lines

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#11 lore raw

Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

In reply to Steven Smith
Quoted 29 lines · Steven Smith
Quoted 3 lines

Alternative Viridian interface support was checked in. When enabled, it ought to be sufficient to disable these bugchecks. Œviridian=1¹ needs to be specified in the domain config file.

Hmm... In order for the Viridian stuff to actually solve this problem, you need to set the relaxed-timers bit. It doesn't look like the xen-unstable implementation does so. Something like this might help:

diff -r f6b92526e916 xen/arch/x86/hvm/viridian.c

xen/arch/x86/hvm/viridian.c +2 -1
@@ -37,6 +37,7 @@
 
 /* Viridian CPUID 4000004, Implementation Recommendations. */
 #define CPUID4A_MSR_BASED_APIC  (1 << 3)
+#define CPUID4A_RELAX_TIMER_INT_HANDLING (1 << 5)
 
 int cpuid_viridian_leaves(unsigned int leaf, unsigned int *eax,
                           unsigned int *ebx, unsigned int *ecx,
@@ -84,7 +85,7 @@
         if ( (d->arch.hvm_domain.viridian.guest_os_id.raw == 0) ||
              (d->arch.hvm_domain.viridian.guest_os_id.fields.os < 4) )
             break;
-        *eax = CPUID4A_MSR_BASED_APIC;
+        *eax = CPUID4A_MSR_BASED_APIC | CPUID4A_RELAX_TIMER_INT_HANDLING;
         *ebx = 2047; /* long spin count */
         break;
     }
Quoted 1 line

But note that I haven't tested this *at all*.

That appears to work. I have a test setup where I can introduce an arbitrary delay in qemu-dm. It's easy to trigger bug check 0x101 in Windows 2008 that way. Using viridian=1, with the relaxed timer bit set, I have been unable to crash Windows 2008.

Looks like a good thing to commit.

- Frank

#12 lore raw

Re: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 31 lines · Frank van der Linden
Quoted 30 lines · Steven Smith
Quoted 5 lines

Alternative Viridian interface support was checked in. When enabled, it ought to be sufficient to disable these bugchecks. Œviridian=1¹ needs to be
specified in the domain config file.

Hmm... In order for the Viridian stuff to actually solve this problem, you need to set the relaxed-timers bit. It doesn't look like the xen-unstable implementation does so. Something like this might help:

diff -r f6b92526e916 xen/arch/x86/hvm/viridian.c

xen/arch/x86/hvm/viridian.c Tue Jan 06 10:32:26 2009 +0000 renamed from xen/arch/x86/hvm/viridian.c Tue Jan 06 09:14:39 2009 +0000 +2 -1
@@ -37,6 +37,7 @@
  /* Viridian CPUID 4000004, Implementation Recommendations. */
 #define CPUID4A_MSR_BASED_APIC  (1 << 3)
+#define CPUID4A_RELAX_TIMER_INT_HANDLING (1 << 5)
  int cpuid_viridian_leaves(unsigned int leaf, unsigned int *eax,
                          unsigned int *ebx, unsigned int *ecx,
@@ -84,7 +85,7 @@
        if ( (d->arch.hvm_domain.viridian.guest_os_id.raw == 0) ||
             (d->arch.hvm_domain.viridian.guest_os_id.fields.os < 4) )
            break;
-        *eax = CPUID4A_MSR_BASED_APIC;
+        *eax = CPUID4A_MSR_BASED_APIC | CPUID4A_RELAX_TIMER_INT_HANDLING;
        *ebx = 2047; /* long spin count */
        break;
    }
Quoted 8 lines
Quoted 1 line

But note that I haven't tested this *at all*.

That appears to work. I have a test setup where I can introduce an arbitrary delay in qemu-dm. It's easy to trigger bug check 0x101 in Windows 2008 that way. Using viridian=1, with the relaxed timer bit set, I have been unable to crash Windows 2008.

Looks like a good thing to commit.

How do you introduce the delay? I'd like to try xen-unstable with viridian=1 but I want to be absolutely sure that the issue is fixed so if you have a patch for qemu-dm I'd appreciate it if you could post it, the BSOD 101 issue causes serious problems for me because I am using pci passthrough, I've found if the domain using passthru crashes, I issue "xm pci-detach", or "xm destroy" a domain that is using a passthru pci device, will cause the entire machine to lockup , I've tried Xen 3.2.1/2/3 and 3.3.0/1 with various different kernels but it always happens, so if my Vista or 2008 domains that are using pci passthru usb2 cards BSOD at all it takes down the entire box, usually resulting in data loss :(

Perhaps that problem might be fixed in unstable too, I will try it tomorrow but it would really help to have a way to trigger a bsod 101.

Thanks
Andy

Quoted 3 lines

- Frank

#13 lore raw

Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 12 lines · Andrew Lyon

How do you introduce the delay? I'd like to try xen-unstable with viridian=1 but I want to be absolutely sure that the issue is fixed so if you have a patch for qemu-dm I'd appreciate it if you could post it, the BSOD 101 issue causes serious problems for me because I am using pci passthrough, I've found if the domain using passthru crashes, I issue "xm pci-detach", or "xm destroy" a domain that is using a passthru pci device, will cause the entire machine to lockup , I've tried Xen 3.2.1/2/3 and 3.3.0/1 with various different kernels but it always happens, so if my Vista or 2008 domains that are using pci passthru usb2 cards BSOD at all it takes down the entire box, usually resulting in data loss :(

Quoted 2 lines

Perhaps that problem might be fixed in unstable too, I will try it tomorrow but it would really help to have a way to trigger a bsod 101.

I use the attached change to qemu. In cpu_handle_ioreq, if send_vcpu != 0,, it checks for the presence of a file called /tmp/qemu_delay. If it exists, it opens it and reads a delay value from it. Then it sleeps for that duration (in microseconds).

What I do is boot windows 2008, then open an editor to edit /tmp/qemu_delay. From the editor, I write various values to it. An easy way to trigger the issue is to write a large value (say, 8000000 for 8 seconds), wait a little while, and then write 0 to make the domain come back to life. It should bluescreen at this point. Sometimes the procedure has to be repeated a few times.

If you want to do "echo $value > /tmp/qemu_delay", you'll need to change the hack to re-open the file each time, probably.

- Frank

*** target-i386-dm/helper2.c.orig Wed Jan 7 12:37:30 2009
--- target-i386-dm/helper2.c Mon Dec 22 16:09:55 2008
***************
*** 47,52 ****
--- 47,54 ----
#include <limits.h>
#include <fcntl.h>

+ #include <unistd.h>
+
#include <xenctrl.h>
#include <xen/hvm/ioreq.h>

***************
*** 570,575 ****
--- 572,580 ----

      extern int shutdown_requested;
      CPUState *env = opaque;
      ioreq_t *req = cpu_get_ioreq();
+     static int fd = -1;
+     char buf[16];
+     useconds_t udelay;
      handle_buffered_io(env);
      if (req) {

***************
*** 606,611 ****
--- 611,625 ----
}

          req->state = STATE_IORESP_READY;

+ if (send_vcpu != 0) {
+ if (fd == -1)
+ fd = open("/tmp/qemu_delay", O_RDONLY);
+ if (fd >= 0) {
+ pread(fd, buf, sizeof buf, 0L);
+ udelay = atoi(buf);
+ usleep(udelay);
+ }
+ }

          xc_evtchn_notify(xce_handle, ioreq_local_port[send_vcpu]);
      }

}

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel

#14 lore raw

Re: Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

In reply to Steve Prochniak
Quoted 5 lines · Steve Prochniak

Andrew - you can run the "Novell Shim" which makes the hypervisor conform to the Microsoft spec enough that the guest OSs will turn off watchdog timeouts (0x101 BSoDs)...

Steve

Happy to give it a try, where can I obtain it?

Quoted 117 lines

-----Original Message-----
From: Andrew Lyon [mailto:[email protected]]
Sent: Monday, January 05, 2009 3:24 PM
To: Steve Prochniak; Xen-Devel (E-mail); [email protected]
Subject: Re: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 2 lines · Steve Prochniak

All Microsoft 6.0 and beyond Operating Systems have a sense of 'enlightment' which means they try to talk to the underlying

hypervisor

Quoted 2 lines

- and if there is one, they do certain things like turn off 101 bugchecks. The only real way to get Vista and beyond to work

correctly

Quoted 1 line

with SMP is to make Xen conform to Microsoft's hypervisor spec.

I vaguely recall there being a way to make xen "lie" to the OS about the type of hypervisor, it might only be a feature on the commercial citrix xenserver?

So basically there is no way to run Windows Vista or 2008 on Xen without risk of a 101 BSOD under load?

If that is true then its a severe problem and Xen is useless for newer MS OS's :(

Has anybody else had this problem and found a solution?

Andy

Quoted 4 lines

-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Andrew

Lyon

Quoted 10 lines

Sent: Friday, January 02, 2009 1:34 PM
To: [email protected]; Xen-Devel (E-mail)
Subject: [Xen-devel] Re: BSOD "A clock interrupt was not recevied onasecondary processor within the allocated time interval"

Quoted 3 lines · Andrew Lyon

Hi,

When dom0 is under heavy load any Vista or Windows 2008 HVM's that

are

Quoted 9 lines
Quoted 9 lines

running and have multiple cpu's assigned often BSOD with code 0x00000101 "A clock interrupt was not recevied ona secondary processor within the allocated time interval"

It only happens if the load in dom0 is high enough to make the mouse pointer lagged, once the mouse fails to track in realtime the hvm's start to bsod within a few seconds.

I have tried several versions of Xen including 3.2, 3.3 and 3.3.1

rc4,

Quoted 22 lines
Quoted 22 lines

and various kernels including the 2.6.18 xensource and 2.6.27-xen.hg.

Here is a example config from one of my vista hvms, is there a timer/rtc setting that I need to add to avoid this problem?

import os, re
arch = os.uname()[4]
if re.search('64', arch):

   arch_libdir = 'lib64'

else:
arch_libdir = 'lib'
kernel = "/usr/lib/xen/boot/hvmloader"
builder='hvm'
memory = 2048
name = "Vistax86"
uuid = "b7bd2f2f-169f-4789-8aee-eaa77c543c99"
vcpus=8
vif = [ 'mac=00:16:3e:7d:bc:b1' ]
disk = [ 'phy:/dev/vg_raptor/lv_vistax86,hda,w', ',hdc:cdrom,r' ] device_model = '/usr/' + arch_libdir + '/xen/bin/qemu-dm' boot="d"
sdl=0

Quoted 9 lines
Quoted 8 lines

vnc=1
vnclisten="127.0.0.1"
vncdisplay=11
vncpasswd='vv8176a'
stdvga=0
serial='pty'
usbdevice='tablet'

cpuid=['1:edx=xxx1xxxxxxxxxxxxxxxxxxxxxxxxxxxx,ebx=xxxxxxxx00010000xxxxx

Quoted 25 lines

xxxxxxxxxxx','4,0:eax=001111xxxxxxxxxxxxxxxxxxxxxxxxxx']

Quoted 4 lines

keymap='en-gb'

Andy

I think this is a known issue which has incorrectly been marked as FIXED in bugzilla:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1117

there is a second bug report of the same problem, this time with more details:

http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1065

Is there a fix?

Andy

_______________________________________________
Xen-devel mailing list
[email protected]
http://lists.xensource.com/xen-devel